package gsw.tool.router.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//Routing annotations
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.CLASS)
public @interface Route {
    /**
     * Route to identify a routing node.
     */
    String path();

    /**
     * Group routing nodes can be dynamically loaded by groups.
     */
    String group() default "";
}
